package de.lot.action;

import de.lot.model.Student;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.framework.EntityQuery;

/**
 * String representing a list of Students
 * 
 * @author Stefan Kohler <kohler.stefan@gmail.com>
 */
@Name("studentList")
public class StudentList extends EntityQuery<Student> {

    @Override
    public String getEjbql() {
        return "select student from Student student";
    }
}
